package com.example.shiwu;

import android.annotation.SuppressLint;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.ListView;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

import com.example.shiwu.adapter.MySimpleChangeAdapter;
import com.example.shiwu.db.model.Items;
import com.example.shiwu.service.ItemsService;
import com.scwang.smartrefresh.layout.api.RefreshLayout;
import com.scwang.smartrefresh.layout.listener.OnLoadMoreListener;
import com.scwang.smartrefresh.layout.listener.OnRefreshListener;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public class ItemListItemChangeActivity extends AppCompatActivity{
    private RefreshLayout mRefreshLayout;
    private ListView listView;
    private MySimpleChangeAdapter myAdapter;

    private Map<String, Object> showitem;
    private ArrayList<Items> itemLisAll = new ArrayList<Items>();
    private int currentPage = 0;
    private int pageSize = 2;
    private int totalSize = 0;

    public ListView editSb;

    public TextView title_text,title_seting,items_detail;
    public ImageView title_back;


    @SuppressLint("MissingInflatedId")
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.item_list_item_change);
    }

}